import { parse } from 'yaml'
import { readFileSync } from 'fs'

// 读取配置文件
export const getConfig = (path:string) => {
    const data = readFileSync(path, 'utf8');
    const result = parse(data);
    return result
}
